import request from "@/utils/request"

/**
 * 发送手机注册验证码
 */
export function sendRegMsg(telephone) {
  return request.post(`/sms/send-reg-msg`, {
    telephone
  })
}

/**
 * 手机验证码登陆
 */
export function msgReg(data) {
  return request.post(`/sms/msg-reg`, data)
}